<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="base/base::head('服务区巡检系统',~{::link},~{::script},~{::style})">

    <link rel="stylesheet" th:href="${session.basePath}+'/resource/imp/main/css/main.css'" media="all" />
    <script type="text/javascript" th:src="${session.basePath}+'/resource/imp/main/js/main.js'"></script>
    <!--<script type="text/javascript" th:src="${session.basePath}+'/resource/imp/msg/js/msgProc.js'"></script>&ndash;&gt;-->
    <script type="text/javascript">
        $(document).ready(function(){
            //var userId = $("#userId").val();
            //initWebSocket(basePath,userId);
        });
    </script>
</head>
<body>
<div class="mainContent">
<div class="topBar">

    <div class="logoIcon" title="服务区巡检系统">服务区巡检系统</div>

    <div class="topBarFoldBtn"></div>
    <div class="userInfoBox">
        <div class="userHeadPic"
             th:style="
             ${session.User.getHeaderpath() != null}?
             'background:url('+${session.basePath}+'/fileUpload/showFile?url='+${session.User.getHeaderpath()}+') no-repeat; background-size:30px':''
             "
        >
        </div>
        <div class="userName" th:text="${session.User.getName()}"></div>
    </div>
</div>
<div class="leftBar">

</div>
<div class="threeMenuBar">

</div>
<div class="centerContent">
    <iframe id="mainFrame" src="" framborder=0 name="mainFrame" scrolling="no" seamless="seamless" width="100%" height="100%"></iframe>
</div>
    <div class="userInfoPanel">
        <div class="userInfoBar">
            <div class="userHead"
                 th:style="
             ${session.User.getHeaderpath() != null}?
             'background:url('+${session.basePath}+'/fileUpload/showFile?url='+${session.User.getHeaderpath()}+') no-repeat; background-size:60px':''
             "
            >
            </div>
            <div class="userName" th:text="${session.User.getName()}">

            </div>
            <input type="button" class="detailBtn" value="密码修改"/>
        </div>
        <div class="optBar">
            <input type="button" class="logoutBtn" value="安全退出"/>
        </div>
    </div>
<div class="pageLoadProgress">
</div>
</div>

</body>
</html>
